package com.zfast.config.service.Impl;

import com.zfast.config.entity.Icon;
import com.zfast.config.repository.IconRepository;
import com.zfast.config.service.IconService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Classname IconServiceImpl
 * @Description None
 * @Date 2019/7/22 11:19
 * @Created by WDD
 */
@Service
public class IconServiceImpl implements IconService {

    @Resource
    IconRepository iconRepository;

    @Override
    public List<Icon> selectAll() {
        return iconRepository.findAll();
    }
}
